package us.icitap.cm.business.entities;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.eclipse.persistence.annotations.Customizer;

import us.icitap.cm.business.entities.regmin.MunicipCommune;
import us.icitap.cm.utils.MyCustomizer;

@Entity
@Customizer(MyCustomizer.class)
@Table(name="STREET", schema="MPC")
public class Street extends BaseEntity  implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 2105317185935540862L;


	@Id
	private Integer id;
	

	@ManyToOne
	@JoinColumn(name="MUNICIP_COMUNE_ID")
	private MunicipCommune municipCommune;


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public MunicipCommune getMunicipCommune() {
		return municipCommune;
	}


	public void setMunicipCommune(MunicipCommune municipCommune) {
		this.municipCommune = municipCommune;
	} 
	
	
	
}
